<nav class="navbar p-0 border-bottom">
    <span class="navbar-brand col-sm-3 col-md-2 mr-0 text-center ">H3BLOG</span>
    <a class="navbar-inline" href="{{url_for('main.index')}}" target="_blank">首页</a>
    <ul class="navbar-nav px-3 border-left">
      <li class="nav-item text-nowrap">
        <a class="nav-link " href="{{url_for('admin.logout')}}">退出</a>
      </li>
    </ul>
  </nav>